package com.sporadic.backstage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sporadic.backstage.entity.UserRank;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserRankMapper extends BaseMapper<UserRank> {
    /**
     * 查询商家积分等级列表
     * @param merchantId 商家编号
     * @return 等级集合
     */
    List<UserRank> selUserRankAll(@Param("merchantId") Integer merchantId);


}
